home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 23
/
AACD 23.iso
/
AACD
/
Resources
/
System
/
VersCheck2
/
VersCheckInstallScript
< prev
next >
Wrap
Text File
|
2000-03-25
|
37KB
|
1,303 lines
; $VER: VersCheckInstallScript V 2.8 (25.03.2000) multi language version
; Installer script to install/update VersCheck v2 final version
; written by Michaela Prüß
; Note(s):
; - This script includes a special feature for use by InstallerNG
; - Last settings will stored and reloaded at next installation
; - Testet with Installer V44 (OS3.5) and InstallerNG 1.4
; ----------------------------------------------------------------------------
; languages (the number is the used language number inside this script)
; ----------------------------------------------------------------------------
; # translation exists for install catalog guide goodies other-text
;
; 0 english -default- YES YES YES YES
; 1 german YES YES YES YES
; 2 français YES YES YES YES
; 3 polski YES YES YES
; 4 norsk YES
; 5 svenska YES
; 6 magyar YES
; 7 czech YES YES
; 8 suomi YES YES YES YES YES
; 8 russian YES YES
;
; ----------------------------------------------------------------------------
; init var's and set text vars (english) as default, other languages later
; ----------------------------------------------------------------------------
(complete 0)
(set @app-name "VersCheck")
(set #default_language 0)
(set #txt_release "VersCheck v2.19.3 (30.12.1999)\nFinal V2 release!\n\n")
;== output and help ENGLISH ==================================================
(set @abort-button "Abort")
(set #ask_true "Yes")
(set #ask_false "No")
(set #err_oldkick "Need KickStart 2.0 or higher")
(set #mes_copyfile "Copy file...")
(set #mes_copyinfo "Copy icon...")
(set #txt_ask_prgcpu
(cat "\nInstall VersCheck on harddisk."
"\n\nPlease choose your CPU type:"
))
(set #hlp_ask_prgcpu
(cat "\nVersCheck will be installed in a later choosen"
"\ndrawer."
"\nFirst set the cpu-version that you want to be"
"\ninstalled!"
"\n\nMichaela Prüß, 21.09.1999\n"
))
(set #txt_ask_libcpu
(cat "\nInstall gateway.library on harddisk."
"\n\nPlease choose your CPU type:"
))
(set #txt_dir_docs
(cat "Path for the document's.\n"
"A drawer 'VersCheckGuide' will be added there!"
))
(set #hlp_dir_docs
(cat "Drawer for the documentation.\n"
"Only the guide for same language\n"
"as the installed catalog file\n"
"will be installed!"
))
(set #txt_ask_scripts
(cat "Install CheckGuide comparelists?"
"\nA drawer 'scripts' will be added there!\n"
))
(set #hlp_ask_scripts
(cat "\nDo you want to install the comparelists from"
"\nthe CheckGuides?\n"
"\nThe drawer will be added in same location as"
"\nthe VersCheck program."
))
(set #txt_ask_nversbef "Install a patched version command?")
(set #hlp_ask_nversbef "See Goodies/ReadMe_version for info's!")
(set #txt_ask_env "Install environment?")
(set #hlp_ask_env
(cat "Install Env-Variables!"
"\nIf not, defaults will be used!\n"
))
(set #txt_ask_addon
(cat "Install the system compare script?"
"\nIncluding two RT-Requester-programs!\n"
))
(set #hlp_ask_addon
(cat "This will install:"
"\nScript: Check_your_system"
"\n Icon: Check_your_system.info"
"\n Tool: RTFileReq"
"\n Tool: RTSimpleReq\n"
))
(set #choice_cpu-0 "68000")
(set #choice_cpu-1 "68010")
(set #choice_cpu-2 "68020 / 68881")
(set #choice_cpu-3 "68030 / 68882")
(set #choice_cpu-4 "68040 / FPU 040")
(set #choice_cpu-5 "68060 / FPU 060")
(set #choice_cpu-6 "PowerPC with PowerUp")
(set #choice_cpu-7 "PowerPC with Warp-OS")
(set #txt_ask_lang
(cat "\nWitch Language do you want to install?"
"\nBuild in is english:"
))
(set #hlp_ask_lang
(cat "\nChoose the language do you want for install!"
"\nRead the Guide carefully!\n"
))
(set #choice_lang-0 "English (build in)")
(set #choice_lang-1 "German")
(set #choice_lang-2 "France")
(set #choice_lang-3 "Polski")
(set #choice_lang-4 "Norsk (english doc's)")
(set #choice_lang-5 "Svenska (english doc's)")
(set #choice_lang-6 "Magyar (english doc's)")
(set #choice_lang-7 "Czech (english doc's)")
(set #choice_lang-8 "Suomi")
(set #choice_lang-9 "Russian")
(set #txt_dir_prog
(cat "Select path for the programfile"
"\nNo drawer will be added!"
))
(set #hlp_dir_prog
(cat "Choose the location for installing"
"\nVersCheck."
))
(set #txt_finish
(cat "\nEnd of installation!\n"
"\nVersCheck is complete installed and ready for"
"\nusage!\n"
))
(set #txt_welcome
(cat "\nWelcome to the installation of\nVersCheck!\n\n"
"\n\n(c) 1998, 1999 by Michaela Prüß"
"\n\nImportant: Please read the manuals!\n"
))
;== Ausgaben und Hilfen DEUTSCH ==============================================
(if (= @language "deutsch")(
(set @abort-button "Abbrechen")
(set #default_language 1)
(set #ask_true "Ja")
(set #ask_false "Nein")
(set #err_oldkick "Mindestens KickStart 2.0 benötigt")
(set #mes_copyfile "Kopiere Datei...")
(set #mes_copyinfo "Kopiere Icon...")
(set #txt_ask_prgcpu
(cat "\nInstallation von VersCheck auf Festplatte."
"\n\nBitte CPU-Version wählen:"
))
(set #hlp_ask_prgcpu
(cat "\nVersCheck installiert sich in ein noch zu wählendes"
"\nVerzeichnis."
"\nJetzt muß ausgewählt werden, welche CPU unterstützt"
"\nwerden soll!"
"\n\nMichaela Prüß, 21.09.1999\n"
))
(set #txt_ask_libcpu
(cat "\nInstallation der gateway.library auf Festplatte."
"\n\nBitte CPU-Version wählen:"
))
(set #txt_dir_docs
(cat "Wohin soll die Dokumentation\n"
"kopiert werden? Ein Verzeichnis\n"
"'VersCheckGuide' wird ggf. angelegt!"
))
(set #hlp_dir_docs
(cat "Verzeichnis für die Dokumentation.\n"
"Abhängig vom der installierten Sprache\n"
"wird die passende Dokumentation dazu\n"
"installiert!"
))
(set #txt_ask_scripts
(cat "CheckGuide-Vergleichslisten installieren?"
"\nEin Verzeichnis 'scripts' wird ggf. erstellt!\n"
))
(set #hlp_ask_scripts
(cat "\nSollen die Vergleichslisten der CheckGuides"
"\ninstalliert werden?\n"
"\nDas Verzeichnis wird dort als Unterverzeichnis"
"\neingerichtet wo das Programm liegt"
))
(set #txt_ask_nversbef
(cat "Soll ein gepatchter Version-Befehl installiert"
"\nwerden?\n"
))
(set #hlp_ask_nversbef "Bitte Goodies/ReadMe_version lesen!")
(set #txt_ask_env "Environment installieren?")
(set #hlp_ask_env
(cat "Installiert Env-Variablen!"
"\nFall nicht werden Standards benutzt!\n"
))
(set #txt_ask_addon
(cat "Soll das System-Vergleichsscript installiert werden?"
"\nWird zusammen mit zwei RT-Requester-Programmen"
"\ninstalliert.\n"
))
(set #hlp_ask_addon
(cat "Installiert werden:"
"\nScript: Check_your_system"
"\n Icon: Check_your_system.info"
"\n Tool: RTFileReq"
"\n Tool: RTSimpleReq\n"
))
(set #choice_cpu-0 "68000")
(set #choice_cpu-1 "68010")
(set #choice_cpu-2 "68020 / 68881")
(set #choice_cpu-3 "68030 / 68882")
(set #choice_cpu-4 "68040 / FPU 040")
(set #choice_cpu-5 "68060 / FPU 060")
(set #choice_cpu-6 "PowerPC unter PowerUp")
(set #choice_cpu-7 "PowerPC unter Warp-OS")
(set #txt_ask_lang
(cat "\nWelche Sprache soll installiert werden?"
"\nEnglisch ist eingebaut:"
))
(set #hlp_ask_lang
(cat "\nAuswahl der Sprache die installiert werden soll"
"\nBitte Guide beachten!\n"
))
(set #choice_lang-0 "Englisch (eingebaut)")
(set #choice_lang-1 "Deutsch")
(set #choice_lang-2 "Französisch")
(set #choice_lang-3 "Polnisch")
(set #choice_lang-4 "Norwegisch (englische Doku)")
(set #choice_lang-5 "Schwedisch (englische Doku)")
(set #choice_lang-6 "Ungarisch (englische Doku)")
(set #choice_lang-7 "Tschechisch (englische Doku)")
(set #choice_lang-8 "Finnisch")
(set #choice_lang-9 "Russisch")
(set #txt_dir_prog
(cat "Wohin soll das Programm installiert werden?"
"\nEs wird KEIN Verzeichnis angelegt!"
))
(set #hlp_dir_prog
(cat "Bitte auswählen, wohin VersCheck installiert"
"\nwerden soll."
))
(set #txt_finish
(cat "\nInstallation beendet!\n"
"\nVersCheck ist jetzt vollständig installiert und"
"\nkann benutzt werden!\n"
))
(set #txt_welcome
(cat "\nWillkommen zur Installation von\nVersCheck!\n\n"
"\n\n(c) 1998, 1999 by Michaela Prüß"
"\n\nBitte unbedingt die Anleitungen lesen!\n"
))))
;== output and help FRENCH ===================================================
(if (= @language "français")(
(set #default_language 2)
(set @abort-button "Interrompre")
(set #ask_true "Oui")
(set #ask_false "Non")
(set #err_oldkick "Nécessite le KickStart 2.0 ou supérieur")
(set #mes_copyfile "Copie les fichiers...")
(set #mes_copyinfo "Copie les icônes...")
(set #txt_ask_prgcpu
(cat "\nInstalle « VersCheck » sur votre disque dur."
"\n\nChoisissez le type de CPU :"
))
(set #hlp_ask_prgcpu
(cat "\nVersCheck sera installé dans un répertoire"
"\nqui sera choisi plus tard."
"\nSélectionnez d'abord la version CPU"
"\nque vous voulez installer !"
"\n\nMichaela Prüß, 21.09.1999\n"
))
(set #txt_ask_libcpu
(cat "\nInstalle gateway.library sur votre disque dur."
"\n\nChoisissez le type de CPU :"
))
(set #txt_dir_docs
(cat "Chemin d'accès à la documentation.\n"
"Un répertoire « VersCheckGuide » sera créé ici !"
))
(set #hlp_dir_docs
(cat "Répertoire pour la documentation.\n"
"Seul le guide du même langage\n"
"que le catalogue choisi sera installé !"
))
(set #txt_ask_scripts
(cat "Installer CheckGuide et sa « comparelist » ?"
"\nUn répertoire « scripts » sera ajouté ici !\n"
))
(set #hlp_ask_scripts
(cat "\nVoulez-vous installer la liste de comparaison"
"\nà partir de CheckGuides ?\n"
"\nLe répertoire sera créé au même endroit que"
"\nle programme VersCheck."
))
(set #txt_ask_nversbef "Installer la version « patchée » de la commande version ?")
(set #hlp_ask_nversbef "Voir Goodies/ReadMe_version pour plus d'infos !")
(set #txt_ask_env "Installer l'environment ?")
(set #hlp_ask_env
(cat "Installe « Env-Variables » !"
"\nSi non, les options par défaut seront utilisées !\n"
))
(set #txt_ask_addon
(cat "Installer le script de comparaison du système ?"
"\nCeci inclus deux programmes « RT-Requester » !\n"
))
(set #hlp_ask_addon
(cat "Ceci installera :\n"
"\nScript : Check_your_system"
"\n Icon : Check_your_system.info"
"\n Tool : RTFileReq"
"\n Tool : RTSimpleReq\n"
))
(set #choice_cpu-0 "68000")
(set #choice_cpu-1 "68010")
(set #choice_cpu-2 "68020 / 68881")
(set #choice_cpu-3 "68030 / 68882")
(set #choice_cpu-4 "68040 / FPU 040")
(set #choice_cpu-5 "68060 / FPU 060")
(set #choice_cpu-6 "PowerPC avec PowerUp")
(set #choice_cpu-7 "PowerPC avec Warp-OS")
(set #txt_ask_lang
(cat "\nQuel langage souhaitez-vous installer ?"
"\n(L'anglais est intégré au programme) :"
))
(set #hlp_ask_lang
(cat "\nChoisissez le langage que vous souhaitez installer !"
"\nLire le guide avec attention !\n"
))
(set #choice_lang-0 "Anglais (en interne)")
(set #choice_lang-1 "Allemand")
(set #choice_lang-2 "Français")
(set #choice_lang-3 "Polonais")
(set #choice_lang-4 "Norvégien (doc en anglais)")
(set #choice_lang-5 "Suédois (doc en anglais)")
(set #choice_lang-6 "Malgache (doc en anglais)")
(set #choice_lang-7 "Tchèque (doc en anglais)")
(set #choice_lang-8 "Suomi")
(set #choice_lang-9 "Russian")
(set #txt_dir_prog
(cat "Choisissez le chemin d'accès au programme."
"\nAucun répertoire ne sera créé !"
))
(set #hlp_dir_prog
(cat "Choisissez le répertoire où installer"
"\n« VersCheck »."
))
(set #txt_finish
(cat "\nFin de la procédure d'installation !\n"
"\n« VersCheck » est entièrement installé"
"\net prêt à être utilisé !\n"
))
(set #txt_welcome
(cat "\nBienvenue dans l'utilitaire d'installation de\n« VersCheck » !\n\n"
"\n\n(c) 1998, 1999 par Michaela Prüß"
"\n\nImportant : Veuillez lire la documentation !\n"
))))
;== output and help POLSKI ===================================================
(if (= @language "polski")(
(set @abort-button "Przerwij")
(set #default_language 3)
(set #ask_true "Tak")
(set #ask_false "Nie")
(set #err_oldkick "Potrzebujë KickStartu w wersji minimum 2.0.")
(set #mes_copyfile "Kopiowanie pliku...")
(set #mes_copyinfo "Kopiowanie ikonki...")
(set #txt_ask_prgcpu
(cat "\nInstalacja programu VersCheck na dysku twardym."
"\n\nWybierz model procesora:"
))
(set #hlp_ask_prgcpu
(cat "\nVersCheck zostanie zainstalowany we wskazanym"
"\npóúniej katalogu."
"\nNajpierw wybierz model procesora, tak aby zainstalowana"
"\nzostaîa wîaôciwa wersja programu!"
"\n\nMichaela Prüß, 21.09.1999\n"
))
(set #txt_ask_libcpu
(cat "\nInstalacja programu gateway.library na dysku twardym."
"\n\nWybierz model procesora:"
))
(set #txt_dir_docs
(cat "Katalog dla dokumentacji.\n"
"Zostanie tam utworzony katalog 'VersCheckGuide'!"
))
(set #hlp_dir_docs
(cat "Katalog dla dokumentacji.\n"
"Zainstalowana zostanie tylko\n"
"dokumentacja w tym samym jëzyku\n"
"co i katalog lokalizacyjny!"
))
(set #txt_ask_scripts
(cat "Czy mam zainstalowaê listë porównaï CheckGuide?"
"\nZostanie tam utworzony katalog 'scripts'!\n"
))
(set #hlp_ask_scripts
(cat "\nCzy chcesz, aby dodany zostaî katalog z listâ"
"\nplików wykorzystywanâ do porównaï?\n"
"\nKatalog ten znajdzie sië w tym samym"
"\nmiejscu na twardym dysku co i program."
))
(set #txt_ask_nversbef "Czy mam zainstalowaê poprawionâ komendë version?")
(set #hlp_ask_nversbef "Przeczytaj Goodies/ReadMe_version!")
(set #txt_ask_env "Czy mam zainstalowaê konfiguracjë ôrodowiska?")
(set #hlp_ask_env
(cat "Instalacja zmiennych ôrodowiskowych!"
"\nW przypadku zaprzeczenia program wykorzysta"
"\nustawienia standardowe!\n"
))
(set #txt_ask_addon
(cat "Czy mam zainstalowaê skrypty sprawdzajâce system?"
"\nDotyczy to równieû dwu programów RT!\n"
))
(set #hlp_ask_addon
(cat "Zainstalowane zostanâ:"
"\n Skrypt: Check_your_system"
"\n Ikonka: Check_your_system.info"
"\nProgram: RTFileReq"
"\nProgram: RTSimpleReq\n"
))
(set #choice_cpu-0 "68000")
(set #choice_cpu-1 "68010")
(set #choice_cpu-2 "68020 / 68881")
(set #choice_cpu-3 "68030 / 68882")
(set #choice_cpu-4 "68040 / FPU 040")
(set #choice_cpu-5 "68060 / FPU 060")
(set #choice_cpu-6 "PowerPC z PowerUp")
(set #choice_cpu-7 "PowerPC z Warp-OS")
(set #txt_ask_lang
(cat "\nJaki jëzyk chcesz zainstalowaê?"
"\nAngielski jest wbudowany:"
))
(set #hlp_ask_lang
(cat "\nWybierz jëzyk, który chcesz zainstalowaê!"
"\nPrzeczytaj dokîadnie dokumentacjë!\n"
))
(set #choice_lang-0 "Angielski (wbudowany)")
(set #choice_lang-1 "Niemiecki")
(set #choice_lang-2 "France")
(set #choice_lang-3 "Polski")
(set #choice_lang-4 "Norweski (angielska dokumentacja)")
(set #choice_lang-5 "Szwedzki (angielska dokumentacja)")
(set #choice_lang-6 "Wëgierski (angielska dokumentacja)")
(set #choice_lang-7 "Czech (angielska dokumentacja)")
(set #choice_lang-8 "Suomi")
(set #choice_lang-9 "Russian")
(set #txt_dir_prog
(cat "Wybierz ôcieûkë dostëpu dla programu."
"\nNie zostanie tam utworzony katalog!"
))
(set #hlp_dir_prog
(cat "Wskaû miejsce na twardym dysku, w którym"
"\nzostanie zainstalowany VersCheck."
))
(set #txt_finish
(cat "\nKoniec instalacji!\n"
"\nVersCheck jest juû gotowy"
"\ndo uruchomienia!\n"
))
(set #txt_welcome
(cat "\nWitam! Skrypt ten instaluje program\nVersCheck!\n\n"
"\n\n(c) 1998, 1999 by Michaela Prüß"
"\n\nWaûne: przeczytaj dokumentacjë!\n"
))))
;== output and help CZECH ====================================================
(if(= @language "czech")(
(set @abort-button "Pêeruîit")
(set #default_language 7)
(set #ask_true "Ano")
(set #ask_false "Ne")
(set #err_oldkick "Je vyùadován KickStart minimálnë ve verzi 2.0.")
(set #mes_copyfile "Kopirování souboru...")
(set #mes_copyinfo "Kopirování ikony...")
(set #txt_ask_prgcpu
(cat "\nInstalace programu VersCheck na hard disk."
"\n\nZvol typ procesoru:"
))
(set #hlp_ask_prgcpu
(cat "\nVersCheck bude nainstalován ve zvoleném"
"\npozdëjí adresáêí."
"\nNejdêíve zvolte typ procesoru, tak aby byla nainstalovaná"
"\nsprávná verze programu!"
"\n\nMichaela Prüß, 21.09.1999\n"
))
(set #txt_ask_libcpu
(cat "\nInstalace programu gateway.library na hard disku."
"\n\nZvolte typ procesoru:"
))
(set #txt_dir_docs
(cat "Adresáê pro dokumentaci.\n"
"Bude tam vytvoêen adresáê 'VersCheckGuide'!"
))
(set #hlp_dir_docs
( cat "Adresáê pro dokumentaci.\n"
"Nainstalována bude jenom\n"
"dokumentace v tom samém jazyku\n"
"jako i lokalizaçní soubor!"
))
(set #txt_ask_scripts
(cat "Nainstalovat také porovnavací seznam CheckGuides?"
"\nBude vytvoêen adresáê 'scripts'!\n"
))
(set #hlp_ask_scripts
(cat "\nMá se nainstalovat porovnavací seznam"
"\nCheckGuides?\n"
"\nAdresáê bude pêidán to toho samého"
"\nmísta jako program VersCheck."
))
(set #txt_ask_nversbef "Má se nainstalovat upravený pêíkaz version?")
(set #hlp_ask_nversbef "Pêeçtëte si goodies/version.readme!")
(set #txt_ask_env "Má se nainstalovat systemové prostêedí?")
(set #hlp_ask_env
(cat "Instalace okolních variabilit!"
"\nPokud zvolíte ne, program pouùije standardní nastavení."
))
(set #txt_ask_addon
(cat "Mají se nainstalovat skripty porovnavájíci systém?"
"\nTýká se to taký dvou programû RT!\n"
))
(set #hlp_ask_addon
(cat "Bude nainstalovano:"
"\n Skript: Check_your_system"
"\n Ikona: Check_your_system.info"
"\nProgram: RTFileReq"
"\nProgram: RTSimpleReq\n"
))
(set #choice_cpu-1 "68000")
(set #choice_cpu-2 "68010")
(set #choice_cpu-3 "68020 / 68881")
(set #choice_cpu-4 "68030 / 68882")
(set #choice_cpu-5 "68040 / FPU 040")
(set #choice_cpu-6 "68060 / FPU 060")
(set #choice_cpu-7 "PowerPC s PowerUp")
(set #choice_cpu-8 "PowerPC s Warp-OS")
(set #txt_ask_lang
(cat "\nKterý jazyk chcete nainstalovat?"
"\nAnglický je vloùený:"
))
(set #hlp_ask_lang
(cat "\nZvolte jazyk, který chcete nainstalovat!"
"\nPêeçtëte si poêádnë dokumentaci!\n"
))
(set #choice_lang-0 "Anglický (vloùený)")
(set #choice_lang-1 "Nëmecký")
(set #choice_lang-2 "Norský (anglická dokumentace)")
(set #choice_lang-3 "Îvédský (anglická dokumentace)")
(set #choice_lang-4 "Maðarský (anglická dokumentace)")
(set #choice_lang-5 "Francouzský (anglická dokumentace)")
(set #choice_lang-6 "Polský")
(set #choice_lang-7 "Çeský (anglická dokumentace)")
(set #choice_lang-8 "Suomi")
(set #choice_lang-9 "Russian")
(set #txt_dir_prog
(cat "Zvolte cestu pro program."
"\nNebude vytvoêen adresáê!"
))
(set #hlp_dir_prog
(cat "Vyberte místo na hard disku, kde bude"
"\nnainstalován VersCheck."
))
(set #txt_finish
(cat "\nKonec instalace!\n"
"\nVersCheck je pêipraven"
"\npro spuîtëní!\n"
))
(set #txt_welcome
(cat "\nVítejte! Tento skript instaluje program\nVersCheck!\n\n"
"\n\n(c) 1998, 1999 by Michaela Prüß"
"\n\nDûleùité: pêeçtëte si dokumentaci!\n"
))))
;== output and help SUOMI ===================================================
(if(= @language "suomi")(
(set #default_language 8)
(set @abort-button "Peru")
(set #ask_true "Kyllä")
(set #ask_false "Ei")
(set #err_oldkick "Tarvitaan KickStart 2.0 tai uudempi")
(set #mes_copyfile "Kopioin tiedostoa...")
(set #mes_copyinfo "Kopioin kuvaketta...")
(set #txt_ask_prgcp
(cat "\nAsennetaan VersCheck kiintolevylle."
"\n\nOle hyvä ja valitse CPU:n tyyppi:"
))
(set #hlp_ask_prgcpu
(cat "\nVersCheck asennetaan myöhemmin valittavaan"
"\nhakemistoon."
"\nValitse ensin minkä prosessorin versio VersCheckistä"
"\nasennetaan!"
"\n\nMichaela Prüß, 21.09.1999\n"
))
(set #txt_ask_libcpu
(cat "\nAsennan gateway.libraryn kiintolevylle."
"\n\nOle hyvä ja valitse prosessorisi tyyppi:"
))
(set #txt_dir_docs
(cat "Mihin dokumentointi kopioidaan?\n"
"Teen hakemiston 'VersCheckGuide' valittuun hakemistoon!"
))
(set #hlp_dir_docs
(cat "Hakemisto dokumentointia varten.\n"
"Ainoastaan samankielinen guide,\n"
"kuin asennettu catalog-tiedosto\n"
"asennetaan!"
))
(set #txt_ask_scripts
(cat "Asennetaanko CheckGuide-vertailulistat?"
"\nTehdään hakemisto 'scripts'!\n"
))
(set #hlp_ask_scripts
(cat "\nHaluatko asentaa vertailulistat"
"\nCheckGuide-ohjelmasta?\n"
"\nHakemisto tehdään samaan paikkaan kuin"
"\nVersCheck-ohjelma."
))
(set #txt_ask_nversbef "Asennetaanko parannettu version-komento?")
(set #hlp_ask_nversbef "Lisätietoja: goodies/version.luemut !")
(set #txt_ask_env "Asennetaanko ympäristömuuttujat?")
(set #hlp_ask_env
(cat "Asennetaanko Env-muuttujat!"
"\nJos ei, käytetään oletusarvoja!\n"
))
(set #txt_ask_addon
(cat "Asennetaanko järjestelmänvertailukomentojono?"
"\nMukaanlukien kaksi RT-Valitsin-ohjelmaa!\n"
))
(set #hlp_ask_adddon
(cat "Tämä asentaa:"
"\nKomentojono: Check_Your_System_Suomi"
"\n Kuvake: Check_Your_System_Suomi.info"
"\n Ohjelma: RTFileReq"
"\n Ohjelma: RTSimpleReq\n"
))
(set #choice_cpu-0 "68000")
(set #choice_cpu-1 "68010")
(set #choice_cpu-2 "68020 / 68881")
(set #choice_cpu-3 "68030 / 68882")
(set #choice_cpu-4 "68040 / FPU 040")
(set #choice_cpu-5 "68060 / FPU 060")
(set #choice_cpu-6 "PowerPC + PowerUp")
(set #choice_cpu-7 "PowerPC + Warp-OS")
(set #txt_ask_lang
(cat "\nMinkä kielen haluat asentaa?"
"\nSisäänrakennettuna englanti:"
))
(set #hlp_ask_lang
(cat "\nValitse kieli, jonka haluat asentaa!"
"\nLue Guide huolellisesti!\n"
))
(set #choice_lang-0 "English (build in)")
(set #choice_lang-1 "German")
(set #choice_lang-2 "France")
(set #choice_lang-3 "Polski")
(set #choice_lang-4 "Norsk (english doc's)")
(set #choice_lang-5 "Svenska (english doc's)")
(set #choice_lang-6 "Magyar (english doc's)")
(set #choice_lang-7 "Czech (english doc's)")
(set #choice_lang-8 "Suomi")
(set #choice_lang-9 "Russian")
(set #txt_dir_prog
(cat "Valitse hakemisto, johon ohjelma asennetaan"
"\nHakemistoa ei tehdä!"
))
(set #hlp_dir_prog
(cat "Valitse sijainti VersCheckin"
"\nasennusta varten."
))
(set #txt_finish
(cat "\nAsennus päättyy!\n"
"\nVersCheck on täysin asennettu ja valmis"
"\nkäyttöön!\n"
))
(set #txt_welcome
(cat "\nTervetuloa asentamaan \nVersCheckiä!\n\n"
"\n\n(c) 1998, 1999 by Michaela Prüß"
"\n\nTärkeää: Ole hyvä ja lue manuaalit!\n"
))))
;-----------------------------------------------------------------------------
; procedure: AskForLib (ask for second cpu type on ppc systems)
;-----------------------------------------------------------------------------
(procedure P_AskForLib
(set #inst_cpu_libs
(askchoice
(default #cpu)
(prompt #txt_ask_libcpu)
(help #hlp_ask_prgcpu)
(choices #choice_cpu-0
#choice_cpu-1
#choice_cpu-2
#choice_cpu-3
#choice_cpu-4
#choice_cpu-5
))))
;=============================================================================
; HERE THE WORK BEGIN *** Check system, set defaults ***
;=============================================================================
(onerror ((if (> @ioerr 0)(message (cat "\n INSTALLER ERROR: " @ioerr "\n\n")))))
(complete 1)
(if (< (/ (getversion) 65536) 37)((abort #err_oldkick)))
(complete 2)
(set #txt_newwelcome (cat #txt_release #txt_welcome))
(message #txt_newwelcome)
(complete 5)
(set #cpu 0)
(if (patmatch "68010" (database "cpu"))((set #cpu 1)))
(if (patmatch "68020" (database "cpu"))((set #cpu 2)))
(if (patmatch "68030" (database "cpu"))((set #cpu 3)))
(if (patmatch "68040" (database "cpu"))((set #cpu 4)))
(if (patmatch "68060" (database "cpu"))((set #cpu 5)))
(set #testlib (tackon "libs:" "PowerPC.library"))
(if (= (exists #testlib) 0)(
(set #testlib (tackon "libs:" "ppc.library"))
(if (= (exists #testlib) 0)(
(set #prgcpu #cpu)
)(
(set #prgcpu 6)))
)(
(set #prgcpu 7)
))
(complete 7)
(set #stortest (tackon "env:" "VCheck/VersDir"))
(if (= (exists #stortest) 0)(
(set #stored_dir_prog "c:")
)(
(set #stored_dir_prog (getenv "VCheck/VersDir"))
))
(set #stortest (tackon "env:" "VCheck/VersDoc"))
(if (= (exists #stortest) 0)(
(set #stored_dir_docs "help:")
)(
(set #stored_dir_docs (getenv "VCheck/VersDoc"))
))
(set #stortest (tackon "env:" "VCheck/VersIM1"))
(if (= (exists #stortest) 0)(
(set #stored_set_scripts 0)
)(
(set #stored_set_scripts (getenv "VCheck/VersIM1"))
))
(set #stortest (tackon "env:" "VCheck/VersIM2"))
(if (= (exists #stortest) 0)(
(set #stored_set_env 0)
)(
(set #stored_set_env (getenv "VCheck/VersIM2"))
))
(set #stortest (tackon "env:" "VCheck/VersIM3"))
(if (= (exists #stortest) 0)(
(set #stored_set_nversbef 0)
)(
(set #stored_set_nversbef (getenv "VCheck/VersIM3"))
))
(set #stortest (tackon "env:" "VCheck/VersIM4"))
(if (= (exists #stortest) 0)(
(set #stored_set_addon 0)
)(
(set #stored_set_addon (getenv "VCheck/VersIM4"))
))
;=============================================================================
; HERE THE INPUT BEGIN / USER ACTION *** All need questions ***
;=============================================================================
(complete 10)
(set #inst_language
(askchoice
(default #default_language)
(prompt #txt_ask_lang)
(help #hlp_ask_lang)
(choices #choice_lang-0
#choice_lang-1
#choice_lang-2
#choice_lang-3
#choice_lang-4
#choice_lang-5
#choice_lang-6
#choice_lang-7
#choice_lang-8
#choice_lang-9
)))
(set #inst_cpu_prog
(askchoice
(default #prgcpu)
(prompt #txt_ask_prgcpu)
(help #hlp_ask_prgcpu)
(choices #choice_cpu-0
#choice_cpu-1
#choice_cpu-2
#choice_cpu-3
#choice_cpu-4
#choice_cpu-5
#choice_cpu-6
#choice_cpu-7
)))
(set #inst_cpu_libs #inst_cpu_prog)
(if (= #inst_cpu_prog 0)((set #progname (cat "VersCheck"))))
(if (= #inst_cpu_prog 1)((set #progname (cat "VersCheck.010"))))
(if (= #inst_cpu_prog 2)((set #progname (cat "VersCheck.020"))))
(if (= #inst_cpu_prog 3)((set #progname (cat "VersCheck.030"))))
(if (= #inst_cpu_prog 4)((set #progname (cat "VersCheck.040"))))
(if (= #inst_cpu_prog 5)((set #progname (cat "VersCheck.060"))))
(if (= #inst_cpu_prog 6)(
(set #progname (cat "VersCheck.elf"))
(P_AskForLib)
))
(if (= #inst_cpu_prog 7)(
(set #progname (cat "VersCheck.wos"))
(P_AskForLib)
))
(if (= @installer-ng-version 0)(
(set #inst_dir_prog
(askdir
(prompt #txt_dir_prog)
(help #hlp_dir_prog)
(default #stored_dir_prog)
(disk)
))
(set #inst_dir_docs
(askdir
(prompt #txt_dir_docs)
(help #hlp_dir_docs)
(default #stored_dir_docs)
(disk)
))
)(
(set #inst_dir_prog
(askdir
(prompt (cat (cat #txt_dir_prog "\n\ndefault: »")(cat #stored_dir_prog "«")))
(help #hlp_dir_prog)
(default #stored_dir_prog)
(disk)
))
(set #inst_dir_docs
(askdir
(prompt (cat (cat #txt_dir_docs "\n\ndefault: »")(cat #stored_dir_docs "«")))
(help #hlp_dir_docs)
(default #stored_dir_docs)
(disk)
))))
(set #inst_choice_scripts
(askchoice
(default #stored_choice_scripts)
(prompt #txt_ask_scripts)
(help #hlp_ask_scripts)
(choices #ask_true
#ask_false
)))
(set #inst_choice_env
(askchoice
(default #stored_choice_env)
(prompt #txt_ask_env)
(help #hlp_ask_env)
(choices #ask_true
#ask_false
)))
(set #inst_choice_nversbef
(askchoice
(default #stored_choice_nversbef)
(prompt #txt_ask_nversbef)
(help #hlp_ask_nversbef)
(choices #ask_true
#ask_false
)))
(set #inst_choice_addon
(askchoice
(default #stored_choice_addon)
(prompt #txt_ask_addon)
(help #hlp_ask_addon)
(choices #ask_true
#ask_false
)))
;=============================================================================
; STORE SETTINGS FOR NEXT TIME *** store config ***
;=============================================================================
(run (cat "SetEnv VCheck/VersDir " #inst_dir_prog))
(run (cat "SetEnv VCheck/VersDoc " #inst_dir_docs))
(run (cat "SetEnv VCheck/VersIM1 " #inst_choice_scripts))
(run (cat "SetEnv VCheck/VersIM2 " #inst_choice_env))
(run (cat "SetEnv VCheck/VersIM3 " #inst_choice_nversbef))
(run (cat "SetEnv VCheck/VersIM4 " #inst_choice_addon))
(run "Copy all ENV:VCheck ENVARC:VCheck")
;=============================================================================
; SET NAMES & DIRS FOR COPY -for CPU and LANGUAGE- *** last settings ***
;=============================================================================
(complete 20)
(set #catalogdir "catalogs/english")
(set #aguidefile "VersCheck_english.Guide")
(set #scriptname "Check_Your_System")
(set #afdfile "AFD-COPYRIGHT")
(set #verreadme "ReadMe_version")
(if (= #inst_language 1)(
(set #catalogdir "catalogs/deutsch")
(set #aguidefile "VersCheck_deutsch.Guide")
(set #scriptname "Check_Your_System_deutsch")
(set #afdfile "AFD-COPYRIGHT_deutsch")
))
(if (= #inst_language 2)(
(set #catalogdir "catalogs/français")
(set #aguidefile "VersCheck_français.Guide")
(set #scriptname "Check_Your_System_france")
(set #afdfile "AFD-COPYRIGHT_français")
))
(if (= #inst_language 3)(
(set #catalogdir "catalogs/polski")
(set #aguidefile "VersCheck_polski.Guide")
(set #afdfile "AFD-COPYRIGHT_polski")
))
(if (= #inst_language 4)(
(set #catalogdir "catalogs/norsk")
))
(if (= #inst_language 5)(
(set #catalogdir "catalogs/svenska")
))
(if (= #inst_language 6)(
(set #catalogdir "catalogs/magyar")
))
(if (= #inst_language 7)(
(set #catalogdir "catalogs/czech")
))
(if (= #inst_language 8)(
(set #catalogdir "catalogs/suomi")
(set #aguidefile "VersCheck_suomi.Guide")
(set #scriptname "Check_Your_System_suomi")
(set #afdfile "AFD-COPYRIGHT_suomi")
(set #verreadme "Luemut_version")
))
(if (= #inst_language 9)(
(set #catalogdir "catalogs/russian")
(set #scriptname "Check_Your_System_russian")
))
(set #libsname (tackon "Libs" "gateway.library.000"))
(if (= #inst_cpu_libs 1)((set #libsname (tackon "Libs" "gateway.library.010"))))
(if (= #inst_cpu_libs 2)((set #libsname (tackon "Libs" "gateway.library.020"))))
(if (= #inst_cpu_libs 3)((set #libsname (tackon "Libs" "gateway.library.030"))))
(if (= #inst_cpu_libs 4)((set #libsname (tackon "Libs" "gateway.library.040"))))
(if (= #inst_cpu_libs 5)((set #libsname (tackon "Libs" "gateway.library.060"))))
;=============================================================================
; START ALL NEEDED COPY *** Now installing ***
;=============================================================================
(complete 30)
(copylib
(prompt #mes_copyfile)
(dest "Libs:")
(source #libsname)
(newname "gateway.library")
)
(set #n 0)
(while
(set #workfile (select #n
"68020.library"
"68030.library"
"68040.library"
"68060.library"
"680x0.library"
"mmu.library"
"reqtools.library"
""
))
(copylib
(prompt #mes_copyfile)
(dest "Libs:")
(source (tackon "Libs" #workfile))
)
(set #n (+ #n 1))
)
(copyfiles
(prompt #mes_copyfile)
(dest "Libs:MMU")
(source "Libs/MMU/ScanMMUPort")
)
(complete 40)
(copyfiles
(prompt #mes_copyfile)
(dest #inst_dir_prog)
(source #progname)
(newname "VersCheck")
(infos)
)
(copyfiles
(prompt #mes_copyinfo)
(dest #inst_dir_prog)
(source "VersCheck.info")
)
(copyfiles
(prompt #mes_copyfile)
(dest (tackon "Locale:" #catalogdir))
(source (tackon "locale" (tackon #catalogdir "VersCheck.catalog")))
)
(complete 50)
(copyfiles
(prompt #mes_copyfile)
(dest (tackon #inst_dir_docs "VersCheckGuide"))
(source (tackon "Doku" #aguidefile))
(newname "VersCheck.Guide")
(infos)
)
(copyfiles
(prompt #mes_copyfile)
(dest (tackon #inst_dir_docs "VersCheckGuide"))
(source (tackon "Doku" (cat #aguidefile ".info")))
(newname "VersCheck.Guide.info")
(infos)
)
(complete 60)
(copyfiles
(prompt #mes_copyfile)
(dest (tackon #inst_dir_docs "VersCheckGuide"))
(source (tackon "Doku" #afdfile))
(newname "AFD-COPYRIGHT")
(infos)
)
(copyfiles
(prompt #mes_copyfile)
(dest (tackon #inst_dir_docs "VersCheckGuide"))
(source (tackon "Doku" (cat #afdfile ".info")))
(newname "AFD-COPRIGHT.info")
(infos)
)
(complete 70)
(set #n 0)
(while
(set #workfile (select #n
"ReadMe.1st"
"Doku/ATO.readme"
"Doku/GuideAuthors.readme"
"Doku/Translators.readme"
"Doku/VersCheckV2.readme"
"Doku/NewInThisVersion"
"Doku/History"
"Doku/Handler.Guide"
"Doku/MUIClasses.Guide"
""
))
(copyfiles
(prompt #mes_copyfile)
(dest (tackon #inst_dir_docs "VersCheckGuide"))
(source #workfile)
)
(copyfiles
(prompt #mes_copyfile)
(dest (tackon #inst_dir_docs "VersCheckGuide"))
(source (cat #workfile ".info"))
)
(set #n (+ #n 1))
)
(copyfiles
(prompt #mes_copyfile)
(dest (tackon #inst_dir_docs "VersCheckGuide/CatSource"))
(source "locale/CatSource")
(all)
)
(if (= #inst_choice_scripts 0)(
(copyfiles
(prompt #mes_copyfile)
(dest (tackon #inst_dir_prog "scripts"))
(source "scripts")
(pattern "#?")
)))
(complete 90)
(if (= #inst_choice_env 0)(
(copyfiles
(prompt #mes_copyfile)
(dest "ENVARC:VCheck")
(source "ENV-ARCHIVE/VCheck")
(all)
)
(copyfiles
(prompt #mes_copyfile)
(dest "ENV:VCheck")
(source "ENV-ARCHIVE/VCheck")
(all)
)))
(if (= #inst_choice_nversbef 0)(
(copyfiles
(prompt #mes_copyfile)
(dest (tackon #inst_dir_docs "VersCheckGuide"))
(source (tackon "goodies" #verreadme))
)
(copyfiles
(prompt #mes_copyfile)
(dest (tackon #inst_dir_docs "VersCheckGuide"))
(source (tackon "goodies" (cat #verreadme ".info")))
)
(copylib
(prompt #mes_copyfile)
(dest #inst_dir_prog)
(source "goodies/Version")
)))
(if (= #inst_choice_addon 0)(
(copyfiles
(prompt #mes_copyfile)
(dest #inst_dir_prog)
(source "goodies/RTFileReq")
)
(copyfiles
(prompt #mes_copyfile)
(dest #inst_dir_prog)
(source "goodies/RTSimpleReq")
)
(copyfiles
(prompt #mes_copyfile)
(dest #inst_dir_prog)
(source (tackon "goodies" #scriptname))
(newname "Check_Your_System")
)
(copyfiles
(prompt #mes_copyfile)
(dest #inst_dir_prog)
(source (tackon "goodies" (cat #scriptname ".info")))
(newname "Check_Your_System.info")
)))
;=============================================================================
; SAY GOODBYE TO THE USER *** the end ***
;=============================================================================
(complete 100)
(set #txt_newfinish (cat #txt_release #txt_finish))
(message #txt_newfinish)
(exit (quiet))